abstract class ITtsBaseEngine {
  Future<void> init({
    required Function(dynamic)? onError,
    required Function()? onComplete,
  });

  Future<void> speak(String text);

  Future<void> stop();

  Future<void> setVolume(double volume);

  Future<void> setSpeechRate(double rate);

  Future<void> setPitch(double pitch);
}
